package com.atde._04_structural_design_patterns.proxy.staticproxy;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.proxy.staticproxy
 * @Author: Del
 * @CreateTime: 2025-06-23  20:16
 * @Description: TeacherDao 接口的具体实现类，代表被静态代理的目标对象
 * 实现了 teach() 方法，表示教师授课的核心业务逻辑
 * @Version: 1.0
 */
public class TeacherDaoImpl implements TeacherDao{

    /**
     * 执行授课业务逻辑，模拟教师实际授课的过程
     * 该方法将被静态代理类 TeacherDaoProxy 所增强
     */
    @Override
    public void teach() {
        System.out.println("老师正在授课...");
    }
}
